Oracle® OLAP Analytic Workspace Java API Reference
10g Release 2 (10.2)

B14351-02

oracle.AWAction
Class Alter

java.lang.Object
  |
  +--oracle.AWAction.AWAction
        |
        +--oracle.AWAction.Alter

public class Alter
extends AWAction

An AWAction that specifies altering the text attributes of an object in an analytic workspace. An Alter action can modify the name, short name, long name, or plural name of the object. If the object is at the top level of the object hierarchy, then an Alter action can change the schema with which the object is associated.

To specify new text attributes for the object, use the following accessor methods of the BaseObject.

  setLongName
  setName
  setPluralName
  setSchema
  setShortName

You can only change the object name once. Use an Alter action to implement the changes in an analytic workspace.

See Also:
BaseObject

Constructor Summary
Alter(Interaction input)
          Creates an Alter action object in the specified Interaction.

 

Method Summary
 void Execute()
          Alters the text attributes of the active object in the current analytic workspace.
 java.lang.String WriteToXML()
          Gets an XML representation of the Alter object.

 

Methods inherited from class oracle.AWAction.AWAction
getActiveObject, getOwner, setActiveObject, setOwner

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

Alter

public Alter(Interaction input)
Creates an Alter action object in the specified Interaction.
Parameters:
input - The Interaction that you want to own the Alter object.

Method Detail

Execute

public void Execute()
Alters the text attributes of the active object in the current analytic workspace.
Overrides:
Execute in class AWAction

WriteToXML

public java.lang.String WriteToXML()
Gets an XML representation of the Alter object.
Overrides:
WriteToXML in class AWAction
Returns:
A String that is an XML representation of the Alter object.

Oracle® OLAP Analytic Workspace Java API Reference
10g Release 2 (10.2)

B14351-02

Copyright © 2003, 2005 Oracle. All rights reserved.